let myvuex = {
    namespaced: true,
    state: {
        option: {},
        key: false,
        aa: 0,
        userorgoods:"user1"
    },
    mutations: {
        xop: function (state, a) {
            state.option = a

        },
        vw(state, v) {
            state.key = v
            
        },
        hh(state,b){
            state.aa=b
        },
        changgeop(state,k){
            if(k==1){
                state.userorgoods="user1"
            }
            else if(k==2){
                state.userorgoods="usercot"
            }
            else if(k==3){
                state.userorgoods="usercar"
            }
            else if(k==4){
                state.userorgoods="userindent"
            }
             else if(k==5){
                state.userorgoods="usertrait"
            }
            else if(k==6){
                state.userorgoods="goods1"
            }
            else if(k==7){
                state.userorgoods="goodscomment"
            }
            else if(k==8){
                state.userorgoods="pgedta"
            }
            else if(k==9){
                state.userorgoods="simg"
            }
           
        }

    }




}
export default myvuex